<?php if (!defined("_ECRIRE_INC_VERSION")) return; if (class_exists('AlohacartPaymentCod')) return;
/**
 * Aloha Cart
 *
 * @author     Aleksey Yaroshchuk (aleksey.yaroshchuk@gmail.com)
 * @license    GNU/GPL
 * @package    plugins
 * @subpackage alohacart
 * @copyright  (c) Aleksey Yaroshchuk 2011-2012
 * @link       http://www.spip-contrib.net/AlohaCart
 */

/** 
 *  This class provides office payment logic
 *
 *  @author Aleksey Yaroshchuk (aleksey.yaroshchuk@gmail.com)
 */
include_spip('functions/pdk_common');
pdk_load_class('AlohacartExtension', 'classes'); 
class AlohacartPaymentOffice extends AlohacartExtension {
    public $fields = array();
    
    public function __construct() {
        parent::__construct();
        $this->configExtension();
    }
    
    private function configExtension(){
        $this->type = 'payment';
        $this->code = 'office';
        
        // Define validation rules:         
         $this->validation->set_rules( 
            array(
            )
         );
    }
    
    public function GetData($options=array()) {
        //$data = $this->GetMetaData();        
        return '';
    }
}
?>